package com.hqd.jjvm.classpath;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 类文件信息
 *
 * @author hqd
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ClassFileInfo {
    /**
     * class十六进制字符串
     */
    private String byteCode;
    /**
     * java全类名
     */
    private String classPath;
    /**
     * 文件路径
     */
    private String path;
    /**
     * 文件名
     */
    private String fileName;

    public ClassFileInfo(String byteCode) {
        this.byteCode = byteCode;
    }

    public ClassFileInfo(String classPath, String path, String fileName) {
        this.classPath = classPath;
        this.path = path;
        this.fileName = fileName;
    }
}
